<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Navo Portable Library: 交换字序</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- 制作者 Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Navo Portable Library&#160;<span id="projectnumber">Ver 1.0.20120827</span></div>
   <div id="projectbrief">Provides generic platform independent facilities.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="annotated.html"><span>数据结构</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<h1>交换字序</h1>  </div>
<div class="ingroups"><a class="el" href="group___xE5_xAD_x97_xE8_x8A_x82_xE9_xA1_xBA_xE5_xBA_x8F.html">字节顺序</a></div></div>
<div class="contents">
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
宏定义</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#gaae236871f4e50651f1bad0f87b2605dd">__bswap16_c</a>(c)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">16位常量字序反转  <a href="#gaae236871f4e50651f1bad0f87b2605dd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga0fbe88ab3255a21f59866154584e14b3">__bswap32_c</a>(c)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">32位常量字序反转  <a href="#ga0fbe88ab3255a21f59866154584e14b3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga0193b1ae5f6bf7d9f03e96a9125d0fb2">__bswap16_array</a>(b, c)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">逐个反转16位整数数组的元素，并存回内存  <a href="#ga0193b1ae5f6bf7d9f03e96a9125d0fb2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga2bdde55ff2a939c8ac42943b5a3a3a09">__bswap32_array</a>(b, c)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">逐个反转32位整数数组的元素，并存回内存  <a href="#ga2bdde55ff2a939c8ac42943b5a3a3a09"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#gab2c46740f2056a01d376fe7e7f77ea03">__rol16_c</a>(c, b)&#160;&#160;&#160;(((uint16_t)(c) &lt;&lt; (b)) | ((uint16_t)(c) &gt;&gt; (16 - (b))))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">左旋转16位整型常量  <a href="#gab2c46740f2056a01d376fe7e7f77ea03"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga50d65c0c6678d0fbd94534455d3f45ff">__ror16_c</a>(c, b)&#160;&#160;&#160;(((uint16_t)(c) &gt;&gt; (b)) | ((uint16_t)(c) &lt;&lt; (16 - (b))))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">右旋转16位整型常量  <a href="#ga50d65c0c6678d0fbd94534455d3f45ff"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga1a632456e03ca94789e3ffa87f2512b1">__rol32_c</a>(c, b)&#160;&#160;&#160;(((uint32_t)(c) &lt;&lt; (b)) | ((uint32_t)(c) &gt;&gt; (32 - (b))))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">左旋转32位整型常量  <a href="#ga1a632456e03ca94789e3ffa87f2512b1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga06418644f153e40de93661756cb7d832">__ror32_c</a>(c, b)&#160;&#160;&#160;(((uint32_t)(c) &gt;&gt; (b)) | ((uint32_t)(c) &lt;&lt; (32 - (b))))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">右旋转32位整型常量  <a href="#ga06418644f153e40de93661756cb7d832"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
函数</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga4b3303af97041fe45a956e45148771bd">__bswap16</a> (uint16_t x)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">反转16位整数  <a href="#ga4b3303af97041fe45a956e45148771bd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga2e098b2765e233a829926df6e55f6c7b">__bswap32</a> (uint32_t x)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">反转32位整数  <a href="#ga2e098b2765e233a829926df6e55f6c7b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga2f436bfcc47e2d2cf6d7aa5d01ab6ee1">__bswap16_p</a> (void *p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">反转16位整数  <a href="#ga2f436bfcc47e2d2cf6d7aa5d01ab6ee1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga6d63ed99d6ea7aae649f79e8dec32a02">__bswap32_p</a> (void *p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">反转32位整数  <a href="#ga6d63ed99d6ea7aae649f79e8dec32a02"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga4930f71c9e50a84b6d2a24baa02b387b">__bswap16_s</a> (void *p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">反转16位整数，并存回内存  <a href="#ga4930f71c9e50a84b6d2a24baa02b387b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga99ca66292d457329a6cb4bf392baf38e">__bswap32_s</a> (void *p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">反转32位整数，并存回内存  <a href="#ga99ca66292d457329a6cb4bf392baf38e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga2847789509cbadd983a367ae1a080689">__rol16</a> (uint16_t v, int b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">左旋转16位整数b位  <a href="#ga2847789509cbadd983a367ae1a080689"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga21439f310376edf5bcc2d563ff56e065">__ror16</a> (uint16_t v, int b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">右旋转16位整数b位  <a href="#ga21439f310376edf5bcc2d563ff56e065"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga5c40024969f5f66c871e34d8150685d2">__rol32</a> (uint32_t v, int b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">左旋转32位整数b位  <a href="#ga5c40024969f5f66c871e34d8150685d2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#gaa5c40c056c3a176e3fe842399a04dc0a">__ror32</a> (uint32_t v, int b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">右旋转32位整数b位  <a href="#gaa5c40c056c3a176e3fe842399a04dc0a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga1bdddce5fc92cdc25ca5648270acea58">__rol16_p</a> (void *p, int b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">左旋转指定内存地址的16位整数b位，但不存回p  <a href="#ga1bdddce5fc92cdc25ca5648270acea58"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#gaa4eae4244bb96c289e6cf7c3f471e773">__ror16_p</a> (void *p, int b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">右旋转指定内存地址的16位整数b位，但不存回p  <a href="#gaa4eae4244bb96c289e6cf7c3f471e773"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga571cb6f4a32a781a7d0fd1351ce1df74">__rol32_p</a> (void *p, int b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">左旋转指定内存地址的32位整数b位，但不存回p  <a href="#ga571cb6f4a32a781a7d0fd1351ce1df74"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#gad0b7e432975a3d1e23b8d89ec86bfbb8">__ror32_p</a> (void *p, int b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">右旋转指定内存地址的32位整数b位，但不存回p  <a href="#gad0b7e432975a3d1e23b8d89ec86bfbb8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga23080d1479b25f51311237ad320c1d26">__rol16_s</a> (void *p, int b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">左旋转指定内存地址的16位整数b位，并存回p  <a href="#ga23080d1479b25f51311237ad320c1d26"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#gaba97992d294cad7030656a17590a40f4">__ror16_s</a> (void *p, int b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">右旋转指定内存地址的16位整数b位，并存回p  <a href="#gaba97992d294cad7030656a17590a40f4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga7d8f36acc41ae727056012b8da610f19">__rol32_s</a> (void *p, int b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">左旋转指定内存地址的32位整数b位，并存回p  <a href="#ga7d8f36acc41ae727056012b8da610f19"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga9280be6ac5803191222650648274c86b">__ror32_s</a> (void *p, int b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">右旋转指定内存地址的32位整数b位，并存回p  <a href="#ga9280be6ac5803191222650648274c86b"></a><br/></td></tr>
</table>
<hr/><h2>宏定义文档</h2>
<a class="anchor" id="gaae236871f4e50651f1bad0f87b2605dd"></a><!-- doxytag: member="swab.h::__bswap16_c" ref="gaae236871f4e50651f1bad0f87b2605dd" args="(c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __bswap16_c</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">c</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>值:</b><div class="fragment"><pre class="fragment">((uint16_t)(    \
    (((c) &amp; 0x00FF) &lt;&lt; 8) |     \
    (((c) &amp; 0xFF00) &gt;&gt; 8)))
</pre></div>
<p>16位常量字序反转 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>双字节常量 </td></tr>
  </table>
  </dd>
</dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00034">34</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga0fbe88ab3255a21f59866154584e14b3"></a><!-- doxytag: member="swab.h::__bswap32_c" ref="ga0fbe88ab3255a21f59866154584e14b3" args="(c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __bswap32_c</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">c</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>值:</b><div class="fragment"><pre class="fragment">((uint32_t)(    \
    (((c) &amp; 0x000000FFUL) &lt;&lt; 24) | \
    (((c) &amp; 0x0000FF00UL) &lt;&lt;  8) | \
    (((c) &amp; 0x00FF0000UL) &gt;&gt;  8) | \
    (((c) &amp; 0xFF000000UL) &gt;&gt; 24)))
</pre></div>
<p>32位常量字序反转 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>四字节常量 </td></tr>
  </table>
  </dd>
</dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00043">43</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga0193b1ae5f6bf7d9f03e96a9125d0fb2"></a><!-- doxytag: member="swab.h::__bswap16_array" ref="ga0193b1ae5f6bf7d9f03e96a9125d0fb2" args="(b, c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __bswap16_array</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">b, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">c&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>值:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">do</span> {            \
        uint16_t* _sw_b = (uint16_t*)(b);   \
        <span class="keywordtype">size_t</span> _sw_c = (c);                 \
        <span class="keywordflow">while</span> (_sw_c--) {                   \
            <a class="code" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga4930f71c9e50a84b6d2a24baa02b387b" title="反转16位整数，并存回内存">__bswap16_s</a>(_sw_b++);           \
        }                                   \
    } <span class="keywordflow">while</span> (0)
</pre></div>
<p>逐个反转16位整数数组的元素，并存回内存 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">b</td><td>数组地址 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">c</td><td>数组长度 </td></tr>
  </table>
  </dd>
</dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00139">139</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga2bdde55ff2a939c8ac42943b5a3a3a09"></a><!-- doxytag: member="swab.h::__bswap32_array" ref="ga2bdde55ff2a939c8ac42943b5a3a3a09" args="(b, c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __bswap32_array</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">b, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">c&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>值:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">do</span> {            \
        uint32_t* _sw_b = (uint32_t*)(b);   \
        <span class="keywordtype">size_t</span> _sw_c = (c);                 \
        <span class="keywordflow">while</span> (_sw_c--) {                   \
            <a class="code" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga99ca66292d457329a6cb4bf392baf38e" title="反转32位整数，并存回内存">__bswap32_s</a>(_sw_b++);           \
        }                                   \
    } <span class="keywordflow">while</span> (0)
</pre></div>
<p>逐个反转32位整数数组的元素，并存回内存 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">b</td><td>数组地址 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">c</td><td>数组长度 </td></tr>
  </table>
  </dd>
</dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00153">153</a>行定义。</p>

</div>
</div>
<a class="anchor" id="gab2c46740f2056a01d376fe7e7f77ea03"></a><!-- doxytag: member="swab.h::__rol16_c" ref="gab2c46740f2056a01d376fe7e7f77ea03" args="(c, b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __rol16_c</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">c, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">b&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(((uint16_t)(c) &lt;&lt; (b)) | ((uint16_t)(c) &gt;&gt; (16 - (b))))</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>左旋转16位整型常量 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>整型常量 </td></tr>
    <tr><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00179">179</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga50d65c0c6678d0fbd94534455d3f45ff"></a><!-- doxytag: member="swab.h::__ror16_c" ref="ga50d65c0c6678d0fbd94534455d3f45ff" args="(c, b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __ror16_c</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">c, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">b&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(((uint16_t)(c) &gt;&gt; (b)) | ((uint16_t)(c) &lt;&lt; (16 - (b))))</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>右旋转16位整型常量 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>整型常量 </td></tr>
    <tr><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00180">180</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga1a632456e03ca94789e3ffa87f2512b1"></a><!-- doxytag: member="swab.h::__rol32_c" ref="ga1a632456e03ca94789e3ffa87f2512b1" args="(c, b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __rol32_c</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">c, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">b&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(((uint32_t)(c) &lt;&lt; (b)) | ((uint32_t)(c) &gt;&gt; (32 - (b))))</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>左旋转32位整型常量 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>整型常量 </td></tr>
    <tr><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00181">181</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga06418644f153e40de93661756cb7d832"></a><!-- doxytag: member="swab.h::__ror32_c" ref="ga06418644f153e40de93661756cb7d832" args="(c, b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __ror32_c</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">c, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">b&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(((uint32_t)(c) &gt;&gt; (b)) | ((uint32_t)(c) &lt;&lt; (32 - (b))))</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>右旋转32位整型常量 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>整型常量 </td></tr>
    <tr><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00182">182</a>行定义。</p>

</div>
</div>
<hr/><h2>函数文档</h2>
<a class="anchor" id="ga4b3303af97041fe45a956e45148771bd"></a><!-- doxytag: member="swab.h::__bswap16" ref="ga4b3303af97041fe45a956e45148771bd" args="(uint16_t x)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static inline uint16_t __bswap16 </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>反转16位整数 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>原整数 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>uint16_t 返回反转后的16位整数 </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00055">55</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga2e098b2765e233a829926df6e55f6c7b"></a><!-- doxytag: member="swab.h::__bswap32" ref="ga2e098b2765e233a829926df6e55f6c7b" args="(uint32_t x)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static inline uint32_t __bswap32 </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>反转32位整数 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>原整数 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>uint32_t 返回反转后的32位整数 </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00066">66</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga2f436bfcc47e2d2cf6d7aa5d01ab6ee1"></a><!-- doxytag: member="swab.h::__bswap16_p" ref="ga2f436bfcc47e2d2cf6d7aa5d01ab6ee1" args="(void *p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static inline uint16_t __bswap16_p </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>反转16位整数 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>16位整数指针 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>uint16_t 返回反转后的16位整数 </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00095">95</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga6d63ed99d6ea7aae649f79e8dec32a02"></a><!-- doxytag: member="swab.h::__bswap32_p" ref="ga6d63ed99d6ea7aae649f79e8dec32a02" args="(void *p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static inline uint32_t __bswap32_p </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>反转32位整数 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>32位整数指针 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>uint32_t 返回反转后的32位整数 </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00107">107</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga4930f71c9e50a84b6d2a24baa02b387b"></a><!-- doxytag: member="swab.h::__bswap16_s" ref="ga4930f71c9e50a84b6d2a24baa02b387b" args="(void *p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static inline void __bswap16_s </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>反转16位整数，并存回内存 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">p</td><td>16位整数指针 </td></tr>
  </table>
  </dd>
</dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00117">117</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga99ca66292d457329a6cb4bf392baf38e"></a><!-- doxytag: member="swab.h::__bswap32_s" ref="ga99ca66292d457329a6cb4bf392baf38e" args="(void *p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static inline void __bswap32_s </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>反转32位整数，并存回内存 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">p</td><td>32位整数指针 </td></tr>
  </table>
  </dd>
</dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00128">128</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga2847789509cbadd983a367ae1a080689"></a><!-- doxytag: member="swab.h::__rol16" ref="ga2847789509cbadd983a367ae1a080689" args="(uint16_t v, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static uint16_t __rol16 </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>左旋转16位整数b位 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">v</td><td>16位整数 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>uint16_t 返回旋转后的整数 </dd></dl>
<dl class="see"><dt><b>参见:</b></dt><dd><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga21439f310376edf5bcc2d563ff56e065" title="右旋转16位整数b位">__ror16</a> </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00192">192</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga21439f310376edf5bcc2d563ff56e065"></a><!-- doxytag: member="swab.h::__ror16" ref="ga21439f310376edf5bcc2d563ff56e065" args="(uint16_t v, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static uint16_t __ror16 </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>右旋转16位整数b位 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">v</td><td>16位整数 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>uint16_t 返回旋转后的整数 </dd></dl>
<dl class="see"><dt><b>参见:</b></dt><dd><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga2847789509cbadd983a367ae1a080689" title="左旋转16位整数b位">__rol16</a> </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00205">205</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga5c40024969f5f66c871e34d8150685d2"></a><!-- doxytag: member="swab.h::__rol32" ref="ga5c40024969f5f66c871e34d8150685d2" args="(uint32_t v, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static uint32_t __rol32 </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>左旋转32位整数b位 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">v</td><td>32位整数 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>uint32_t 返回旋转后的整数 </dd></dl>
<dl class="see"><dt><b>参见:</b></dt><dd><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#gaa5c40c056c3a176e3fe842399a04dc0a" title="右旋转32位整数b位">__ror32</a> </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00218">218</a>行定义。</p>

</div>
</div>
<a class="anchor" id="gaa5c40c056c3a176e3fe842399a04dc0a"></a><!-- doxytag: member="swab.h::__ror32" ref="gaa5c40c056c3a176e3fe842399a04dc0a" args="(uint32_t v, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static uint32_t __ror32 </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>右旋转32位整数b位 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">v</td><td>32位整数 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>uint32_t 返回旋转后的整数 </dd></dl>
<dl class="see"><dt><b>参见:</b></dt><dd><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga5c40024969f5f66c871e34d8150685d2" title="左旋转32位整数b位">__rol32</a> </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00231">231</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga1bdddce5fc92cdc25ca5648270acea58"></a><!-- doxytag: member="swab.h::__rol16_p" ref="ga1bdddce5fc92cdc25ca5648270acea58" args="(void *p, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static uint16_t __rol16_p </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>左旋转指定内存地址的16位整数b位，但不存回p </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>指向16位整数的指针 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>uint16_t 返回旋转后的整数 </dd></dl>
<dl class="see"><dt><b>参见:</b></dt><dd><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#gaa4eae4244bb96c289e6cf7c3f471e773" title="右旋转指定内存地址的16位整数b位，但不存回p">__ror16_p</a> </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00244">244</a>行定义。</p>

</div>
</div>
<a class="anchor" id="gaa4eae4244bb96c289e6cf7c3f471e773"></a><!-- doxytag: member="swab.h::__ror16_p" ref="gaa4eae4244bb96c289e6cf7c3f471e773" args="(void *p, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static uint16_t __ror16_p </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>右旋转指定内存地址的16位整数b位，但不存回p </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>指向16位整数的指针 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>uint16_t 返回旋转后的整数 </dd></dl>
<dl class="see"><dt><b>参见:</b></dt><dd><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga1bdddce5fc92cdc25ca5648270acea58" title="左旋转指定内存地址的16位整数b位，但不存回p">__rol16_p</a> </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00257">257</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga571cb6f4a32a781a7d0fd1351ce1df74"></a><!-- doxytag: member="swab.h::__rol32_p" ref="ga571cb6f4a32a781a7d0fd1351ce1df74" args="(void *p, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static uint32_t __rol32_p </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>左旋转指定内存地址的32位整数b位，但不存回p </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>指向32位整数的指针 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>uint32_t 返回旋转后的整数 </dd></dl>
<dl class="see"><dt><b>参见:</b></dt><dd><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#gad0b7e432975a3d1e23b8d89ec86bfbb8" title="右旋转指定内存地址的32位整数b位，但不存回p">__ror32_p</a> </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00270">270</a>行定义。</p>

</div>
</div>
<a class="anchor" id="gad0b7e432975a3d1e23b8d89ec86bfbb8"></a><!-- doxytag: member="swab.h::__ror32_p" ref="gad0b7e432975a3d1e23b8d89ec86bfbb8" args="(void *p, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static uint32_t __ror32_p </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>右旋转指定内存地址的32位整数b位，但不存回p </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>指向32位整数的指针 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>uint32_t 返回旋转后的整数 </dd></dl>
<dl class="see"><dt><b>参见:</b></dt><dd><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga571cb6f4a32a781a7d0fd1351ce1df74" title="左旋转指定内存地址的32位整数b位，但不存回p">__rol32_p</a> </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00283">283</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga23080d1479b25f51311237ad320c1d26"></a><!-- doxytag: member="swab.h::__rol16_s" ref="ga23080d1479b25f51311237ad320c1d26" args="(void *p, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void __rol16_s </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>左旋转指定内存地址的16位整数b位，并存回p </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>指向16位整数的指针 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>参见:</b></dt><dd><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#gaba97992d294cad7030656a17590a40f4" title="右旋转指定内存地址的16位整数b位，并存回p">__ror16_s</a> </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00295">295</a>行定义。</p>

</div>
</div>
<a class="anchor" id="gaba97992d294cad7030656a17590a40f4"></a><!-- doxytag: member="swab.h::__ror16_s" ref="gaba97992d294cad7030656a17590a40f4" args="(void *p, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void __ror16_s </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>右旋转指定内存地址的16位整数b位，并存回p </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>指向16位整数的指针 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>参见:</b></dt><dd><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga23080d1479b25f51311237ad320c1d26" title="左旋转指定内存地址的16位整数b位，并存回p">__rol16_s</a> </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00307">307</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga7d8f36acc41ae727056012b8da610f19"></a><!-- doxytag: member="swab.h::__rol32_s" ref="ga7d8f36acc41ae727056012b8da610f19" args="(void *p, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void __rol32_s </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>左旋转指定内存地址的32位整数b位，并存回p </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>指向32位整数的指针 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>参见:</b></dt><dd><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga9280be6ac5803191222650648274c86b" title="右旋转指定内存地址的32位整数b位，并存回p">__ror32_s</a> </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00319">319</a>行定义。</p>

</div>
</div>
<a class="anchor" id="ga9280be6ac5803191222650648274c86b"></a><!-- doxytag: member="swab.h::__ror32_s" ref="ga9280be6ac5803191222650648274c86b" args="(void *p, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void __ror32_s </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>右旋转指定内存地址的32位整数b位，并存回p </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>指向32位整数的指针 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>旋转量 </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>参见:</b></dt><dd><a class="el" href="group___xE4_xBA_xA4_xE6_x8D_xA2_xE5_xAD_x97_xE5_xBA_x8F.html#ga7d8f36acc41ae727056012b8da610f19" title="左旋转指定内存地址的32位整数b位，并存回p">__rol32_s</a> </dd></dl>

<p>在文件<a class="el" href="swab_8h_source.html">swab.h</a>第<a class="el" href="swab_8h_source.html#l00331">331</a>行定义。</p>

</div>
</div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>数据结构</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>类型定义</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>宏定义</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Generated at 2015年七月16日 星期四 12:00:43 for Navo Portable Library by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
